home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Strate…Tools for the Enterprise / Microsoft Internet Strategy & Tools for the Enterprise.iso / bkoffice / inetsrv.nts / mips / infoctrs.h < prev    next >
C/C++ Source or Header  |  1995-12-29  |  2KB  |  65 lines

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1993                **/
  4. /**********************************************************************/
  5.  
  6. /*
  7.     infoctrs.h
  8.  
  9.     Offset definitions for the INFO Server's counter objects & counters.
  10.  
  11.     These offsets *must* start at 0 and be multiples of 2.  In the
  12.     INFOOpenPerformanceData procecedure, they will be added to the
  13.     INFO Server's "First Counter" and "First Help" values in order to
  14.     determine the absolute location of the counter & object names
  15.     and corresponding help text in the registry.
  16.  
  17.     This file is used by the INFOCTRS.DLL DLL code as well as the
  18.     INFOCTRS.INI definition file.  INFOCTRS.INI is parsed by the
  19.     LODCTR utility to load the object & counter names into the
  20.     registry.
  21.  
  22.  
  23.     FILE HISTORY:
  24.         KeithMo     07-Jun-1993 Created.
  25.         MuraliK     02-Jun-1995 Added Counters for Atq I/O requests
  26.         SophiaC     16-Oct-1995 Info/Access Product Split
  27.  
  28. */
  29.  
  30.  
  31. #ifndef _INFOCTRS_H_
  32. #define _INFOCTRS_H_
  33.  
  34.  
  35. //
  36. //  The INFO Server counter object.
  37. //
  38.  
  39. #define INFO_COUNTER_OBJECT                     0
  40.  
  41.  
  42. //
  43. //  The individual counters.
  44. //
  45.  
  46. #define INFO_CACHE_BYTES_TOTAL_COUNTER                  2
  47. #define INFO_CACHE_BYTES_IN_USE_COUNTER                 4
  48. #define INFO_CACHE_OPEN_FILES_COUNTER                   6
  49. #define INFO_CACHE_DIR_LISTS_COUNTER                    8
  50. #define INFO_CACHE_OBJECTS_COUNTER                      10
  51. #define INFO_CACHE_FLUSHES_COUNTER                      12
  52. #define INFO_CACHE_HITS_COUNTER                         14
  53. #define INFO_CACHE_MISSES_COUNTER                       16
  54. #define INFO_CACHE_RATIO_COUNTER                        18
  55. #define INFO_CACHE_RATIO_COUNTER_DENOM                  20
  56. #define INFO_ATQ_TOTAL_ALLOWED_REQUESTS_COUNTER         22
  57. #define INFO_ATQ_TOTAL_BLOCKED_REQUESTS_COUNTER         24
  58. #define INFO_ATQ_TOTAL_REJECTED_REQUESTS_COUNTER        26
  59. #define INFO_ATQ_CURRENT_BLOCKED_REQUESTS_COUNTER       28
  60. #define INFO_ATQ_MEASURED_BANDWIDTH_COUNTER             30
  61.  
  62.  
  63.  
  64. #endif  // _INFOCTRS_H_
  65.